package cj.web.admin.domain;

import java.io.Serializable;

public class ComposeOnlineOrder extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 631037358548005647L;
	
	protected Integer id;
	protected String orderNo;
	protected Integer userId;
	protected Integer gameId;
	protected String duration;
	protected Double price;
	protected String parentName;
	protected String parentPhone;
	protected String name;
	protected String identityCard;
	protected String teacher;
	protected String area;
	protected String school;
	protected String grade;
	protected Integer status;
	protected Integer payWay;
	protected String payOrder;
	protected Integer source;
	protected Integer subjectId;
	protected Integer isExam;
	protected String composition;
	protected Integer isCheck;
	protected Integer teacherId;
	protected Integer score;
	protected Integer isWin;
	protected Integer deleteFlag;
	protected String createAt;
	protected String createUser;
	protected String updateAt;
	protected String updateUser;

	protected String statusName;
	protected String isExamName;
	protected String isCheckName;
	protected String isWinName;
	protected String payWayName;
	protected String remark;
	protected String subjectNo;
	protected String title;
	protected String code;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getGameId() {
		return gameId;
	}
	public void setGameId(Integer gameId) {
		this.gameId = gameId;
	}
	public String getDuration() {
		return duration;
	}
	public void setDuration(String duration) {
		this.duration = duration;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public String getParentPhone() {
		return parentPhone;
	}
	public void setParentPhone(String parentPhone) {
		this.parentPhone = parentPhone;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIdentityCard() {
		return identityCard;
	}
	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}
	public String getTeacher() {
		return teacher;
	}
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getPayWay() {
		return payWay;
	}
	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}
	public String getPayOrder() {
		return payOrder;
	}
	public void setPayOrder(String payOrder) {
		this.payOrder = payOrder;
	}
	public Integer getSource() {
		return source;
	}
	public void setSource(Integer source) {
		this.source = source;
	}
	public Integer getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}
	public Integer getIsExam() {
		return isExam;
	}
	public void setIsExam(Integer isExam) {
		this.isExam = isExam;
	}
	public String getComposition() {
		return composition;
	}
	public void setComposition(String composition) {
		this.composition = composition;
	}
	public Integer getIsCheck() {
		return isCheck;
	}
	public void setIsCheck(Integer isCheck) {
		this.isCheck = isCheck;
	}
	public Integer getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public Integer getIsWin() {
		return isWin;
	}
	public void setIsWin(Integer isWin) {
		this.isWin = isWin;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	public String getIsExamName() {
		return isExamName;
	}
	public void setIsExamName(String isExamName) {
		this.isExamName = isExamName;
	}
	public String getIsCheckName() {
		return isCheckName;
	}
	public void setIsCheckName(String isCheckName) {
		this.isCheckName = isCheckName;
	}
	public String getIsWinName() {
		return isWinName;
	}
	public void setIsWinName(String isWinName) {
		this.isWinName = isWinName;
	}
	public String getPayWayName() {
		return payWayName;
	}
	public void setPayWayName(String payWayName) {
		this.payWayName = payWayName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getSubjectNo() {
		return subjectNo;
	}
	public void setSubjectNo(String subjectNo) {
		this.subjectNo = subjectNo;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((area == null) ? 0 : area.hashCode());
		result = prime * result + ((code == null) ? 0 : code.hashCode());
		result = prime * result
				+ ((composition == null) ? 0 : composition.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result
				+ ((duration == null) ? 0 : duration.hashCode());
		result = prime * result + ((gameId == null) ? 0 : gameId.hashCode());
		result = prime * result + ((grade == null) ? 0 : grade.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((identityCard == null) ? 0 : identityCard.hashCode());
		result = prime * result + ((isCheck == null) ? 0 : isCheck.hashCode());
		result = prime * result
				+ ((isCheckName == null) ? 0 : isCheckName.hashCode());
		result = prime * result + ((isExam == null) ? 0 : isExam.hashCode());
		result = prime * result
				+ ((isExamName == null) ? 0 : isExamName.hashCode());
		result = prime * result + ((isWin == null) ? 0 : isWin.hashCode());
		result = prime * result
				+ ((isWinName == null) ? 0 : isWinName.hashCode());
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		result = prime * result + ((orderNo == null) ? 0 : orderNo.hashCode());
		result = prime * result
				+ ((parentName == null) ? 0 : parentName.hashCode());
		result = prime * result
				+ ((parentPhone == null) ? 0 : parentPhone.hashCode());
		result = prime * result
				+ ((payOrder == null) ? 0 : payOrder.hashCode());
		result = prime * result + ((payWay == null) ? 0 : payWay.hashCode());
		result = prime * result
				+ ((payWayName == null) ? 0 : payWayName.hashCode());
		result = prime * result + ((price == null) ? 0 : price.hashCode());
		result = prime * result + ((remark == null) ? 0 : remark.hashCode());
		result = prime * result + ((school == null) ? 0 : school.hashCode());
		result = prime * result + ((score == null) ? 0 : score.hashCode());
		result = prime * result + ((source == null) ? 0 : source.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((statusName == null) ? 0 : statusName.hashCode());
		result = prime * result
				+ ((subjectId == null) ? 0 : subjectId.hashCode());
		result = prime * result
				+ ((subjectNo == null) ? 0 : subjectNo.hashCode());
		result = prime * result + ((teacher == null) ? 0 : teacher.hashCode());
		result = prime * result
				+ ((teacherId == null) ? 0 : teacherId.hashCode());
		result = prime * result + ((title == null) ? 0 : title.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		ComposeOnlineOrder other = (ComposeOnlineOrder) obj;
		if (area == null) {
			if (other.area != null)
				return false;
		} else if (!area.equals(other.area))
			return false;
		if (code == null) {
			if (other.code != null)
				return false;
		} else if (!code.equals(other.code))
			return false;
		if (composition == null) {
			if (other.composition != null)
				return false;
		} else if (!composition.equals(other.composition))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (duration == null) {
			if (other.duration != null)
				return false;
		} else if (!duration.equals(other.duration))
			return false;
		if (gameId == null) {
			if (other.gameId != null)
				return false;
		} else if (!gameId.equals(other.gameId))
			return false;
		if (grade == null) {
			if (other.grade != null)
				return false;
		} else if (!grade.equals(other.grade))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (identityCard == null) {
			if (other.identityCard != null)
				return false;
		} else if (!identityCard.equals(other.identityCard))
			return false;
		if (isCheck == null) {
			if (other.isCheck != null)
				return false;
		} else if (!isCheck.equals(other.isCheck))
			return false;
		if (isCheckName == null) {
			if (other.isCheckName != null)
				return false;
		} else if (!isCheckName.equals(other.isCheckName))
			return false;
		if (isExam == null) {
			if (other.isExam != null)
				return false;
		} else if (!isExam.equals(other.isExam))
			return false;
		if (isExamName == null) {
			if (other.isExamName != null)
				return false;
		} else if (!isExamName.equals(other.isExamName))
			return false;
		if (isWin == null) {
			if (other.isWin != null)
				return false;
		} else if (!isWin.equals(other.isWin))
			return false;
		if (isWinName == null) {
			if (other.isWinName != null)
				return false;
		} else if (!isWinName.equals(other.isWinName))
			return false;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		if (orderNo == null) {
			if (other.orderNo != null)
				return false;
		} else if (!orderNo.equals(other.orderNo))
			return false;
		if (parentName == null) {
			if (other.parentName != null)
				return false;
		} else if (!parentName.equals(other.parentName))
			return false;
		if (parentPhone == null) {
			if (other.parentPhone != null)
				return false;
		} else if (!parentPhone.equals(other.parentPhone))
			return false;
		if (payOrder == null) {
			if (other.payOrder != null)
				return false;
		} else if (!payOrder.equals(other.payOrder))
			return false;
		if (payWay == null) {
			if (other.payWay != null)
				return false;
		} else if (!payWay.equals(other.payWay))
			return false;
		if (payWayName == null) {
			if (other.payWayName != null)
				return false;
		} else if (!payWayName.equals(other.payWayName))
			return false;
		if (price == null) {
			if (other.price != null)
				return false;
		} else if (!price.equals(other.price))
			return false;
		if (remark == null) {
			if (other.remark != null)
				return false;
		} else if (!remark.equals(other.remark))
			return false;
		if (school == null) {
			if (other.school != null)
				return false;
		} else if (!school.equals(other.school))
			return false;
		if (score == null) {
			if (other.score != null)
				return false;
		} else if (!score.equals(other.score))
			return false;
		if (source == null) {
			if (other.source != null)
				return false;
		} else if (!source.equals(other.source))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (statusName == null) {
			if (other.statusName != null)
				return false;
		} else if (!statusName.equals(other.statusName))
			return false;
		if (subjectId == null) {
			if (other.subjectId != null)
				return false;
		} else if (!subjectId.equals(other.subjectId))
			return false;
		if (subjectNo == null) {
			if (other.subjectNo != null)
				return false;
		} else if (!subjectNo.equals(other.subjectNo))
			return false;
		if (teacher == null) {
			if (other.teacher != null)
				return false;
		} else if (!teacher.equals(other.teacher))
			return false;
		if (teacherId == null) {
			if (other.teacherId != null)
				return false;
		} else if (!teacherId.equals(other.teacherId))
			return false;
		if (title == null) {
			if (other.title != null)
				return false;
		} else if (!title.equals(other.title))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ComposeOnlineOrder [id=").append(id)
				.append(", orderNo=").append(orderNo).append(", userId=")
				.append(userId).append(", gameId=").append(gameId)
				.append(", duration=").append(duration).append(", price=")
				.append(price).append(", parentName=").append(parentName)
				.append(", parentPhone=").append(parentPhone).append(", name=")
				.append(name).append(", identityCard=").append(identityCard)
				.append(", teacher=").append(teacher).append(", area=")
				.append(area).append(", school=").append(school)
				.append(", grade=").append(grade).append(", status=")
				.append(status).append(", payWay=").append(payWay)
				.append(", payOrder=").append(payOrder).append(", source=")
				.append(source).append(", subjectId=").append(subjectId)
				.append(", isExam=").append(isExam).append(", composition=")
				.append(composition).append(", isCheck=").append(isCheck)
				.append(", teacherId=").append(teacherId).append(", score=")
				.append(score).append(", isWin=").append(isWin)
				.append(", deleteFlag=").append(deleteFlag)
				.append(", createAt=").append(createAt).append(", createUser=")
				.append(createUser).append(", updateAt=").append(updateAt)
				.append(", updateUser=").append(updateUser)
				.append(", statusName=").append(statusName)
				.append(", isExamName=").append(isExamName)
				.append(", isCheckName=").append(isCheckName)
				.append(", isWinName=").append(isWinName)
				.append(", payWayName=").append(payWayName).append(", remark=")
				.append(remark).append(", subjectNo=").append(subjectNo)
				.append(", title=").append(title).append(", code=")
				.append(code).append("]");
		return builder.toString();
	}
}